﻿using System;


class Program
{
    static void Main()
    {
        string input = Console.ReadLine();

        string[] stringNumbers = input.Split(new[] { ' ' });

        int[] numbers = new int[stringNumbers.Length];
        for (int i = 0; i < stringNumbers.Length; i++)
        {
            numbers[i] = int.Parse(stringNumbers[i]);
        }

        int max = numbers.Max();

        int min = numbers.Min();

        double average = numbers.Average();

        int sum = numbers.Sum();

        Console.WriteLine($"最大值: {max}");
        Console.WriteLine($"最小值: {min}");
        Console.WriteLine($"平均值: {average}");
        Console.WriteLine($"元素和: {sum}");
    }
}